package com.woniuxy.java106crm.service.impl;

import com.woniuxy.java106crm.mapper.StatisticAnalysisMapper;
import com.woniuxy.java106crm.service.StatisticAnalysisService;
import com.woniuxy.java106crm.vo.CustomerCompositionVo;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 统计报表的服务层接口实现类
 */
@Service
public class StatisticAnalysisServiceImpl implements StatisticAnalysisService {
    @Resource
    private StatisticAnalysisMapper statisticAnalysisMapper;


    @Override
    public List<CustomerCompositionVo> getGradeAndNum() {
        return statisticAnalysisMapper.getGradeAndNum();
    }
}

